package com.dcivision.dms.web;

import com.dcivision.framework.Utility;
import com.dcivision.framework.web.AbstractSearchForm;
import com.dcivision.mail.bean.MailSetting;

public class ListDmsEmailArchiveForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.11 $";

  private String curFunctionCode = null;
  private String folderID = null;
//  private String parentID = null;
//  private String rootID = null;
//  private String targetParentID = null;
  private String targetRootID = null;
  private String targetPath = null;
  private String destinationID = null;  
  private String hiddenMailID = null;
  private String autoCutFileName = "false";

  
  private MailSetting mailSetting = null;
  
  public ListDmsEmailArchiveForm() {
    this.setSortAttribute("SEND_DATE");
    this.setSortOrder("DESC");
  }

  public String getCurFunctionCode() {
    return curFunctionCode;
  }

  public void setCurFunctionCode(String curFunctionCode) {
    this.curFunctionCode = curFunctionCode;
  }

  public String getFolderID() {
    return Utility.isEmpty(folderID) ? "0" : folderID;
  }

  public void setFolderID(String folderID) {
    this.folderID = folderID;
  }
//
//  public String getParentID() {
//    return this.parentID;
//  }
//
//  public void setParentID(String parentID) {
//    this.parentID = parentID;
//  }
//
//  public String getRootID() {
//    return this.rootID;
//  }
//
//  public void setRootID(String rootID) {
//    this.rootID = rootID;
//  }
//
//  public String getTargetParentID() {
//    return this.targetParentID;
//  }
//
//  public void setTargetParentID(String targetParentID) {
//    this.targetParentID = targetParentID;
//  }

  public String getDestinationID() {
    return this.destinationID;
  }

  public void setDestinationID(String destinationID) {
    this.destinationID = destinationID;
  }  
  
  public String getTargetRootID() {
    return this.targetRootID;
  }

  public void setTargetRootID(String targetRootID) {
    this.targetRootID = targetRootID;
  }

  public String getTargetPath() {
    return this.targetPath;
  }

  public void setTargetPath(String targetPath) {
    this.targetPath = targetPath;
  }

  public String getHiddenMailID() {
    return this.hiddenMailID;
  }

  public void setHiddenMailID(String hiddenMailID) {
    this.hiddenMailID = hiddenMailID;
  }  

  public String getAutoCutFileName(){
    return this.autoCutFileName ;
  }
  
  public void setAutoCutFileName(String autoCutFileName){
    this.autoCutFileName = autoCutFileName;
  }  
  
  public MailSetting getMailSetting(){
    return this.mailSetting ;
  }
  
  public void setMailSetting(MailSetting mailSetting){
    this.mailSetting = mailSetting;
  }    
}